package com.zlq.cn.service.movie;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zlq.cn.dto.param.MovieCommentPageParam;
import com.zlq.cn.entity.MovieComment;
import com.zlq.cn.mapper.movie.MovieCommentMapper;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 影片评论 服务实现类
 * </p>
 *
 * @author zhoucl
 * @since 2022-03-19
 */
@Service
public class MovieCommentService extends ServiceImpl<MovieCommentMapper, MovieComment> {

    public Page<MovieComment> page(MovieCommentPageParam param) {
        return baseMapper.page(param.getPage(), param);
    }
}
